import { CmdCode, EventCode } from '../../code/index';
import { CmdSignModel, MpHomePageModel } from '../../models/index';
import { AHttpCmd } from '../base.cmd';

export class MpHomePageGetCmd extends AHttpCmd {
    constructor(private id?: any, private reqCode?: string) {
        super();
    }

    req(): CmdSignModel {
        let model: MpHomePageModel = new MpHomePageModel();
        model.id = this.id;
        return super.buildCmdSign(model, this.reqCode);
    }

    resp(data: any): void {
    }

    error(model: CmdSignModel): void {
    }

    getCmdCode(): string {
        return CmdCode.MP_HOME_PAGE_GET;
    }
}
